
package jnivb;

/**
 *
 * @author AbdelhaqA
 */
public class JniVb {

    static{
        System.out.println(System.getProperty("java.library.path"));
	System.loadLibrary("Win32CppInterface");
    }
    public native String vbFunction(String dataFile);
    
    /**
     * @param args the command line arguments
     */
      
    public static void main(String[] args) {
        String dataFile = "mini-adult.data";
        System.out.println("output java is "+ new JniVb().vbFunction(dataFile));      
    }   
}
